#pragma once

class Setting : public CDialog
{
// Construction
public:
	Setting(CWnd* pParent = NULL);   // standard constructor

	int lang;

// Dialog Data
	//{{AFX_DATA(Setting)
	enum { IDD = IDD_SETTING };
	CButton	m_Test;
	CEdit	m_ServerPort;
	CStatic	m_ServerNameStatic;
	CEdit	m_ServerName;
	CButton	m_Server;
	CStatic	m_PortStatic;
	CStatic	m_PlayerNameStatic;
	CButton	m_Network;
	CStatic	m_LanguageStatic;
	CComboBox	m_Language;
	CButton	m_Connection;
	CButton	m_Client;
	CString	m_PlayerName;
	BOOL	m_ServerFlag;
	BOOL	m_ClientFlag;
	BOOL	m_NetworkFlag;
	CString	m_ServerNameValue;
	CString	m_ServerPortValue;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Setting)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(Setting)
	afx_msg void OnTest();
	virtual BOOL OnInitDialog();
	afx_msg void OnNetwork();
	afx_msg void OnServer();
	afx_msg void OnClient();
	virtual void OnOK();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};